package fast;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author 张澎_9970
 * @date 2021.11.4 下午 9:48 星期四
 * @desc:
 */
public class Demo {
    public static void main(String[] args) {
        BeanFactory beanFactory = new ClassPathXmlApplicationContext("META-INF/bean.xml");

        Person p = (Person) beanFactory.getBean("abc");
        System.out.println(p);
    }
}
